import request from '@/utils/request'

// 查询专家审核列表 - 业务员端
export function getApList(query) {
  return request({
    url: `/business/expert/ap/list`,
    method: 'get',
    params: query
  })
}

// 查询专家审核详情 - 业务员端
export function apExpertDetails (id) {
  return request({
    url: `/business/expert/ap/${id}`,
    method: 'get'
  })
}


// 审核专家
export function aditExpert(data) {
  return request({
    url: `/expert/expert/verify`,
    method: 'post',
    data: data
  })
}
